package com.novel.mapper;

import com.reading.pojo.NovelScore;
import com.reading.pojo.NovelScoreUser;
import com.reading.pojo.Score;

import java.util.List;

public interface ScoreMapper {
    Score list(Integer pid);

    List<NovelScore> findbyid(Integer pid);

    List<NovelScore> findall(Integer pid);

    List<Score> findAllScore();

    List<NovelScore> findcomment(NovelScore novelScore);

    int add(NovelScore novelScore);

    NovelScoreUser findid(Integer id);

    List<NovelScoreUser> findalluser(Integer uid);

    Score delete(Integer id);
}
